package com.jac.alapores.dao;

import java.util.List;

import com.jac.alapores.domain.User;

public class UserRepository
extends BaseRepository 
{
	public List<User> getAll()
	{
		return getService().query(User.class).list();
	}
	
	public void create(User category)
	{
		getService().put(category);		
	}
	
	public void deleteById(String pId)
	{
		getService().delete(User.class, pId);
	}
	
	public User getById(String pId)
	{
		return getService().get(User.class, pId);
	}
}
